package com.jr.entity;

import java.io.Serializable;

public class Email implements Serializable {
    private static final long serialVersionUID = 5079912137892038936L;
    private int id;
    private int enterprise_id;
    private String email_detail;
    private int default_status;
    private int exist;

    public Email() {
    }

    public Email(String email_detail) {
        this.email_detail = email_detail;
    }

    public Email(int id, int enterprise_id, String email_detail, int default_status, int exist) {
        this.id = id;
        this.enterprise_id = enterprise_id;
        this.email_detail = email_detail;
        this.default_status = default_status;
        this.exist = exist;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(int enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public String getEmail_detail() {
        return email_detail;
    }

    public void setEmail_detail(String email_detail) {
        this.email_detail = email_detail;
    }

    public int getDefault_status() {
        return default_status;
    }

    public void setDefault_status(int default_status) {
        this.default_status = default_status;
    }

    public int getExist() {
        return exist;
    }

    public void setExist(int exist) {
        this.exist = exist;
    }

    @Override
    public String toString() {
        return "Email{" +
                "id=" + id +
                ", enterprise_id=" + enterprise_id +
                ", email_detail='" + email_detail + '\'' +
                ", default_status=" + default_status +
                ", exist=" + exist +
                '}';
    }
}
